<template>
    <div>
        <AInputRichText v-model:value="value" :uploadImageFunc="uploadImageFunc"></AInputRichText>
    </div>
</template>

<script setup lang="ts">
import { AInputRichText } from 'aosv'
import { onMounted, ref } from 'vue'

const value = ref('')
const uploadImageFunc = (_file: File) =>
    'https://static.oschina.net/uploads/cooperation/index_channel_list_ad_between_gitee_RNEpt.png'
onMounted(() => {
    setTimeout(() => {
        value.value = 'ajax来的值'
    }, 1000)
})
</script>
